package com.ruoyi.repairCar.domain.dto;

import lombok.Data;
import org.springframework.data.redis.domain.geo.GeoLocation;


@Data
public class RescueRequestDTO {
    private Integer rescueType;
    private GeoLocation geolocation;
    private Integer memberId;
    private MQConfig mqConfig;
    private String situationExplanation;
    private Integer vehicleModel;
    private String vehicleNumber;

    @Data
    public static class MQConfig {
        private Integer initialRange;
        private Integer maxRetryRange;
        private Integer retryInterval;
    }
    @Data
    public static class GeoLocation extends RescueMessage.GeoLocation {
        private Double latitude;
        private Double longitude;
        private String coordinateSystem;
    }
}
